using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using QFramework;
public class TestUI : MonoBehaviour
{
    private Button button;
    // Start is called before the first frame update
    void Start()
    {
        button = GetComponentInChildren<Button>();
        button.onClick.AddListener(() => {
            TypeEventSystem.Global.Send(new MyTestEvent1());
        });
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
